<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Page Title</title>
    <style>
        .toast-container{ 
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            right: 0;
            z-index: 2000;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .toast{
            width: 180px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            background-color: #02020231;
            border-radius: 10px;
            color: #fff;
        }
    </style>
</head>
<body>
<section class="toast-container">
        <div class="toast">
            <span>hello,toast</span>
        </div>
    </section>   
</body>
</html>